/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package homework.demo01;

/**阙家就
 *
 * @author Administrator
 */
public class Book {private String bookname;
    private int iebn;
    private double prais;

    public Book(String bookname, int iebn, double prais) {
        this.bookname = bookname;
        this.iebn = iebn;
        this.prais = prais;
    }
    
    public static void main(String[] args) {
      Book pbook = new Book("java" , 9787504 ,38.4);
        System.out.println("书的编号:"+pbook.iebn);
        System.out.println("书的名称:"+pbook.bookname);
        System.out.println("价格:"+pbook.prais);
    }
}



